home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Champak Vol K-12
/
Vol K-12.iso
/
games
/
extrem_t.exe
/
scripts
/
DefineButton2_234
/
BUTTONCONDACTION on(keyPress Enter).as
< prev
next >
Wrap
Text File
|
2012-08-27
|
1KB
|
52 lines
on(keyPress "<Enter>"){
sonMC.gotoAndPlay(4);
if(choix == 1)
{
perso = 1;
cobelix.gotoAndStop(2);
masterix.gotoAndStop(1);
mmrsg.gotoAndStop(1);
masrctrx.gotoAndStop(1);
casterix.gotoAndStop(1);
cmsrg.gotoAndStop(1);
casrctrx.gotoAndStop(1);
nextFrame();
}
if(choix == 2)
{
perso = 2;
casterix.gotoAndStop(2);
mobelix.gotoAndStop(1);
mmrsg.gotoAndStop(1);
masrctrx.gotoAndStop(1);
cobelix.gotoAndStop(1);
cmsrg.gotoAndStop(1);
casrctrx.gotoAndStop(1);
nextFrame();
}
if(choix == 3)
{
perso = 3;
cmsrg.gotoAndStop(2);
masterix.gotoAndStop(1);
mobelix.gotoAndStop(1);
masrctrx.gotoAndStop(1);
casterix.gotoAndStop(1);
cobelix.gotoAndStop(1);
casrctrx.gotoAndStop(1);
nextFrame();
}
if(choix == 4)
{
perso = 4;
casrctrx.gotoAndStop(2);
masterix.gotoAndStop(1);
mmsrg.gotoAndStop(1);
mobelix.gotoAndStop(1);
casterix.gotoAndStop(1);
cmsrg.gotoAndStop(1);
cobelix.gotoAndStop(1);
nextFrame();
}
}